package de.tabuma.shopping.entity;

import javax.jdo.*;
import javax.jdo.annotations.*;

/**
 *
 * @author alefen
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class UserOrderRelation {
    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    Long id;
    public Long getId() {
        return id;
    }
    public void setId(Long id) {
        this.id = id;
    }

    @Persistent
    int orderId;
    public int getOrderId() {
        return orderId;
    }
    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    @Persistent
    String user;
    public String getUser() {
        return user;
    }
    public void setUser(String user) {
        this.user = user;
    }
}
